import Mock from 'mockjs'

const a = Mock.mock({
  code: 0,
  name: 'hello',
  message: '交易成功'

})

export default {
  userinfo: config => {
    // const user = JSON.parse(config.body)
    // a.name = user.name
    return a
  }
}
